
ac.game:on '单位-受到治疗' (function(_, unit, source, heal)
    if not heal:of_reason("吸血") then return end
    local uclock = unit:get_data("steal-texttag-cool") or 0 
    local nclock = ac.clock() / 1000
    if (nclock - uclock) > 0.7 then 
        unit:set_data("steal-texttag-cool", nclock)
        unit:add_effect([[Abilities\Spells\Undead\VampiricAura\VampiricAuraTarget.mdl]],'origin'):remove()
    end 
end)
